<!-- frontend/src/App.vue -->
<template>
  <div id="app">
    <el-container>
      <el-header>
        <h1 class="text-2xl font-bold text-white">Vue3 + Flask 示例</h1>
      </el-header>

      <el-main>
        <ApiDemo />
      </el-main>

      <el-footer>
        <p>© 2023 Full Stack Example</p>
      </el-footer>
    </el-container>
  </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue';
import ApiDemo from './components/ApiDemo.vue';

export default defineComponent({
  name: 'App',
  components: {
    ApiDemo
  }
});
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;

}

el-header, el-footer {
  background-color: #409EFF;
  color: white;
  line-height: 60px;
}

el-main {
  background-color: #E9EEF3;
  color: #333;
  padding: 20px;
}
</style>